/**
 * 主页模块
 * @type {*[]}
 */
const routerConfig = [
    {
        path: '/home',
        name: 'home',
        redirect: '/home/page',
        meta: {
            title: '页面二',
            keepAlive: true
        },
        components: {
            web: resolve => require(['../../views/home/index.vue'], resolve)
        },
        children: [
            {
                path: '/home/page',
                name: 'homePage',
                components: {
                    main: resolve => require(['../../views/home/home-page/index.vue'], resolve)
                },
                meta: {
                    title: '首页',
                    keepAlive: true
                }
            },
            {
                path: '/home/member',
                name: 'member',
                components: {
                    main: resolve => require(['../../views/home/home-member/index.vue'], resolve)
                },
                meta: {
                    title: '会员页',
                    keepAlive: true
                }
            },
            {
                path: '/home/journal',
                name: 'journal',
                components: {
                    main: resolve => require(['../../views/home/home-journal/index.vue'], resolve)
                },
                meta: {
                    title: 'IT技术',
                    keepAlive: true
                }
            },
        ]
    }
]
export default routerConfig
